package com.wicket.okrapp.biz.service.dto.common;
import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc TopMidBasicStepDto
     * @使用场景
     */
    @Data
    public class TopMidBasicStepDto extends BaseDto  implements Serializable {
      
    /**
     * 步骤ID 
     */
    @NotNull(message = "步骤ID不能为空")
@ApiModelProperty("步骤ID")
    private String	 assistStepId;

    /**
     * 步骤名称 
     */
    @NotNull(message = "步骤名称不能为空")
@ApiModelProperty("步骤名称")
    private String	 stepName;

    /**
     * 步骤编码 
     */
    @NotNull(message = "步骤编码不能为空")
@ApiModelProperty("步骤编码")
    private String	 stepNameCode;

    /**
     * 编辑下“下一步”名称 
     */
    @NotNull(message = "编辑下“下一步”名称不能为空")
@ApiModelProperty("编辑下“下一步”名称")
    private String	 editAssistStepName;

    /**
     * 修订下“下一步”名称 
     */
    @NotNull(message = "修订下“下一步”名称不能为空")
@ApiModelProperty("修订下“下一步”名称")
    private String	 changeAssistStepName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      TopMidBasicStepDto that = (TopMidBasicStepDto) o;
      return  assistStepId == that.assistStepId&&stepName == that.stepName&&stepNameCode == that.stepNameCode&&editAssistStepName == that.editAssistStepName&&changeAssistStepName == that.changeAssistStepName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), assistStepId,stepName,stepNameCode,editAssistStepName,changeAssistStepName);
    }
    
      

    }
   